package net.xumf.support.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class ModuleBaseVO {

    // 编码
    private String code;
    // 标识
    private int moduleId;
    // 父标识
    private int parentId;
    // 是否有子模块
    @JsonIgnore
    private boolean hasChild;
    // 排序
    @JsonIgnore
    private int sequence;
    // 子模块
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<? extends ModuleBaseVO> children;
}
